package com.bifrost.service;

import java.io.File;

/**
 * Author by yanxiaobo
 * Date on 2018/12/20$.
 */
public interface FileService {

     /**
      *
      * @param file 要上传的文件
      * @param remote  将文件上传到的路径
      * @return
      * @throws Exception
      */
     boolean upload(File file, String remote, boolean deleteAfterUpload);



}
